<?php
define('NO_CHECK_LOGIN','ture');
require 'init.php';

//数据库查询该id用户信息
$result=mysqli_query($link,"SELECT * FROM `usertable`");
//获取全部记录，储存到$userdata中
$userdata = mysqli_fetch_all($result,MYSQLI_ASSOC);

require '../view/user.html';
?>